﻿using System;
using System.Net.Sockets;

namespace HslCommunication.Core.Net
{
	// Token: 0x02000146 RID: 326
	internal class AsyncStateSend
	{
		/// <summary>
		/// 传输数据的对象
		/// </summary>
		// Token: 0x1700059A RID: 1434
		// (get) Token: 0x06001C89 RID: 7305 RVA: 0x0008CA80 File Offset: 0x0008AC80
		// (set) Token: 0x06001C8A RID: 7306 RVA: 0x0008CA88 File Offset: 0x0008AC88
		internal Socket WorkSocket { get; set; }

		/// <summary>
		/// 发送的数据内容
		/// </summary>
		// Token: 0x1700059B RID: 1435
		// (get) Token: 0x06001C8B RID: 7307 RVA: 0x0008CA91 File Offset: 0x0008AC91
		// (set) Token: 0x06001C8C RID: 7308 RVA: 0x0008CA99 File Offset: 0x0008AC99
		internal byte[] Content { get; set; }

		/// <summary>
		/// 已经发送长度
		/// </summary>
		// Token: 0x1700059C RID: 1436
		// (get) Token: 0x06001C8D RID: 7309 RVA: 0x0008CAA2 File Offset: 0x0008ACA2
		// (set) Token: 0x06001C8E RID: 7310 RVA: 0x0008CAAA File Offset: 0x0008ACAA
		internal int AlreadySendLength { get; set; }

		// Token: 0x1700059D RID: 1437
		// (get) Token: 0x06001C8F RID: 7311 RVA: 0x0008CAB3 File Offset: 0x0008ACB3
		// (set) Token: 0x06001C90 RID: 7312 RVA: 0x0008CABB File Offset: 0x0008ACBB
		internal SimpleHybirdLock HybirdLockSend { get; set; }

		/// <summary>
		/// 关键字
		/// </summary>
		// Token: 0x1700059E RID: 1438
		// (get) Token: 0x06001C91 RID: 7313 RVA: 0x0008CAC4 File Offset: 0x0008ACC4
		// (set) Token: 0x06001C92 RID: 7314 RVA: 0x0008CACC File Offset: 0x0008ACCC
		internal string Key { get; set; }

		/// <summary>
		/// 客户端的标识
		/// </summary>
		// Token: 0x1700059F RID: 1439
		// (get) Token: 0x06001C93 RID: 7315 RVA: 0x0008CAD5 File Offset: 0x0008ACD5
		// (set) Token: 0x06001C94 RID: 7316 RVA: 0x0008CADD File Offset: 0x0008ACDD
		internal string ClientId { get; set; }
	}
}
